home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8467 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: news2.near.net!ceylon!news
  2. From: Brenda <g051286>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What is &Variable (declared as: char Variable[10])?
  5. Date: 4 Mar 1996 15:02:57 GMT
  6. Organization: GTE Laboratories Incorporated
  7. Message-ID: <4hf0n1$hca@ceylon.gte.com>
  8. References: <4gqpa1$3h9@alcor.usc.edu> <4gsdno$1bg@umbc9.umbc.edu> <4gtab6$acb@ceylon.gte.com> <313318b8.53776146@nntp.ix.netcom.com> <4h1u9d$sqq@ceylon.gte.com> <danpop.825542129@rscernix>
  9. NNTP-Posting-Host: 138.83.161.16
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/735)
  14. X-URL: news://132.197.8.2/danpop.825542129@rscernix
  15.  
  16. danpop@mail.cern.ch (Dan Pop) wrote:
  17. >Brenda <g051286> writes:
  18. >
  19. >>So again I say, myarray is DEFINITELY a pointer (i.e. address in memory).
  20. >
  21. >And I say: you're DEFINITELY an idiot.
  22. >
  23. >I can understand people making mistakes (especially very common ones)
  24. >but I cannot understand people insisting in their mistakes, after half
  25. >a dozen attempts to explain why they were mistaken have been made.
  26. >
  27. >Read the FAQ, read it again, read it one more time and if you still
  28. >believe that arrays are pointers try to avoid this newsgroup in the
  29. >future.  You'll be mercilessly flamed.  
  30. >
  31. >Dan
  32. >--
  33. >Dan Pop
  34. >CERN, CN Division
  35. >Email: danpop@mail.cern.ch 
  36. >Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  37.  
  38.  
  39. Gee, thanks Dan for that constructive criticism.  Contrary to what you
  40. believe, dozens of posts had not appeared on my news server when I made
  41. my response, only one had - and don't bother to tell me to wait for the
  42. responses, I know that too.  Once I read the responses and the faq, I
  43. admitted I was wrong - end of story.
  44.  
  45. In the future if you want to call me an idiot, do so at BSmith7331@aol.com.
  46. And in case you missed my post on the incorrect definitions of arrays and
  47. pointers that was in my college text:
  48.  
  49. From "A Book on C" (Kelley & Pohl, copyright 1990, pg. 29)
  50. "In C, a string is an array of characters, and an array name by itself is a
  51. pointer.  Because of this, the concepts of arrays, strings, and pointers are
  52. intimately related.  A pointer is just an address of an object in memory..."
  53.  
  54.